package com.gupaoedu.pattern.strategy;


/**
 * 2019/9/28
 * created by chenpp
 */
public class ForgetFlightStrategy implements Strategy {

    public FlightReturn flightReturn(Double price) {
        String msg = "因为没能及时赶上航班，退还30%金额:RMB "+price*0.3+".";
        FlightReturn flightReturn = new FlightReturn(price*0.3,msg);
        return flightReturn;
    }
}
